//存入Token
export const setToken = (key:string,token: string) => {
    localStorage.setItem(key, token);
}
//获取token
export const getToken = (key:string) => {
    return localStorage.getItem(key);
}


